/*
 * @Author: your name
 * @Date: 2021-06-22 10:44:38
 * @LastEditTime: 2021-06-22 14:21:35
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: /sports-wechat-c/main.js
 */
import Vue from 'vue'
import App from './App'

import store from './store'
import api from '@/common/js/api-config'
import filters from '@/common/filters/index'
import { baseUrl, baseImgUrl } from '@/common/js/config'
import common from '@/common/js/common'
import mixins from '@/common/mixin'


let QQMapWX = require('@/common/js/qqmap-wx-jssdk.min.js')
let qqmapsdk = new QQMapWX({key: 'UYGBZ-XUZLF-GRYJ5-JQTZK-MAK3O-EPB4C'})

Vue.config.productionTip = false

// use fiters
Object.keys(filters).forEach(key => Vue.filter(key, filters[key]))

Vue.prototype.$store = store
Vue.prototype.$api = api
Vue.prototype.$baseUrl = baseUrl
Vue.prototype.$baseImgUrl = baseImgUrl
Vue.prototype.$common = common
Vue.prototype.$qqmapsdk = qqmapsdk
Vue.mixin(mixins)

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
